﻿
//离开组 组ID，组标题
function LeaveGroup(gid,gt)
{
    showProgressBar(false,true);
    $("$divIput$").style.display = "none";
    var gt1=gt.replace(/\$d\$/gi,"\'").replace(/\$s\$/gi,"\"");
    var leaveDesc="<div style='width:370px; overflow:hidden'>"+GP115.replace(/\{0\}/gi,gt1)+"</div><br/><div class='Popup_button'><input value='"+GP230+"' class='button' onclick='OPLeaveG("+gid+")' type='button'/>&nbsp;&nbsp;<input type='button' value='"+C0056+"' class='buttong' onclick='$EndMessageBox$()' /></div>";       
    var obj = {}
    $ShowMessageBox$(leaveTitle,leaveDesc,obj,OPLeaveG,400);
}
//执行离开
function OPLeaveG(gid)
{    
    $("LeaveGID").value = gid;
    $("Form1").action = "/groups/my-groups.htm";
    $("Form1").submit();
    $EndMessageBox$();
}